﻿using DevExpress.Xpo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    public class B_Employee : BaseXPLiteObjectClass
    {
        public B_Employee(Session session) : base(session) { }
        public override void AfterConstruction()
        {
            base.AfterConstruction();
        }
        string fEmployeeID;
        [Key, Persistent]
        public string EmployeeID
        {
            get { return fEmployeeID; }
            set { SetPropertyValue<string>("EmployeeID", ref fEmployeeID, value); }
        }
        string fName;
        public string Name
        {
            get { return fName; }
            set { SetPropertyValue<string>("Name", ref fName, value); }
        }
        int fSex;
        public int Sex
        {
            get { return fSex; }
            set { SetPropertyValue<int>("Sex", ref fSex, value); }
        }
        string fIDCard;
        public string IDCard
        {
            get { return fIDCard; }
            set { SetPropertyValue<string>("IDCard", ref fIDCard, value); }
        }
        string fPhone;
        public string Phone
        {
            get { return fPhone; }
            set { SetPropertyValue<string>("Phone", ref fPhone, value); }
        }
        int fStatusID;
        public int StatusID
        {
            get { return fStatusID; }
            set { SetPropertyValue<int>("StatusID", ref fStatusID, value); }
        }
    }
}
